package DEMO01;
/*
继承
 */
public class Demo01Extends {
    public static void main(String[] args) {
        Teacher teacher=new Teacher();
        teacher.method();
        Assitant assitant =new Assitant();
        assitant.method();
    }
}
